using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "ConsumableItemData_SO", menuName = "Item/ConsumableItemData")]
public class ConsumableItemData_SO : ScriptableObject
{
    public List<ConsumableItem> consumableItemList;

    public ConsumableItem GetConsumableItem(int itemID)
    {
        return consumableItemList.Find(c => c.itemID == itemID);
    }
}
